package org.fuys.coder.domain.auth.service.vertify.permission.executor;

import org.fuys.coder.infrastructure.util.RedisUtil;

import javax.servlet.http.HttpServletRequest;

/**
 * @projectName: fuys-low-coder
 * @package: org.fuys.coder.domain.auth.service.vertify.permission
 * @className: PermissionCertifyExecutor
 * @author: WangJing
 * @description: 权限验证执行器
 * @date: 2024/7/10 23:44
 * @version: 1.0
 */
public interface IPermissionCertifyExecutor {
    /**
     * @param request: 请求信息
     * @param permission: 需要的权限ID
     * @return boolean
     * @author WangJing
     * @description 进行权限验证
     * @date 2024/7/10 23:45
     */
    public boolean verify(HttpServletRequest request, String permission);
}
